import { MessageBox, Message } from "element-ui"


export default function qrts(text) {
  return new Promise((resolve, reject) => {
    MessageBox.confirm(text, "系统提示提示", {
      confirmButtonText: "确定",
      cancelButtonText: "取消",
      type: "warning",
    }).then(() => {
      console.log("确认提示__________________");
      resolve(true);
    }).catch(() => {
      reject(false);
    });
  })
}